package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanBoZhiWeiSavePO;
import com.ct.application.shipping.model.po.ChuanBoZhiWeiSearchPO;
import com.ct.application.shipping.model.vo.ChuanBoZhiWeiVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanBoZhiWeiDO;

import java.util.List;

/**
 * <p>
 * 船舶职位
 * </p>
 *
 * @author carlo
 */
public interface ChuanBoZhiWeiService extends IBaseService<ChuanBoZhiWeiDO> {


    List<ChuanBoZhiWeiVO> findChuanBoZhiWeisBiao();

    Page<ChuanBoZhiWeiVO> findChuanBoZhiWei(ChuanBoZhiWeiSearchPO searchPO);

    boolean saveChuanBoZhiWei(ChuanBoZhiWeiSavePO savePO);

    ChuanBoZhiWeiVO getChuanBoZhiWei(Long id);

    boolean updateChuanBoZhiWei(ChuanBoZhiWeiSavePO savePO);

    boolean delChuanBoZhiWei(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
